package com.qdu.mapper;

import com.qdu.entity.Reportinfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ReportinfoMapper {
    int deleteByPrimaryKey(String rid);

    int insert(Reportinfo record);

    int insertSelective(Reportinfo record);

    Reportinfo selectByPrimaryKey(String rid);

    List<Reportinfo> selectByUid(String uid);

    Reportinfo selectByHid(String hid);

    int updateByPrimaryKeySelective(Reportinfo record);

    int updateByPrimaryKey(Reportinfo record);

    List<Reportinfo> getAll();

    int update(Reportinfo reportinfo);

    Long findTotals();
}